<%@ page import="com.common.pageBean" %>
<%@ page import="com.common.pcBean" %>
<%--
  Created by IntelliJ IDEA.
  User: ztc
  Date: 16-3-18
  Time: 下午8:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<%
  pageBean pagebean=new pageBean(Integer.parseInt(request.getParameter("curPage")),Integer.parseInt(request.getParameter("pageSize")));
  int i=Integer.parseInt(request.getParameter("i"));
  pcBean p=pagebean.getList().get(i);
  out.println(p.getName());
  out.println(p.getXh());
  String[] imgsrc=p.getImgPath().split("/");

%>
<head>
    <title><%=p.getName()%>的保修详情</title>
</head>
<body>
<img src="/img/upload/<%=imgsrc[imgsrc.length-1]%>"/>

</body>
</html>
